<div class="menu_account">
    <ul>
        <li class="active"><span class="tab"><?php echo CHtml::link('Your Account', array("user/index")); ?></span></li>
        <li><span class="tab"><?php echo CHtml::link('Update Account', array("user/updateAccount")); ?></span></li>
        <li><span class="tab"><?php echo CHtml::link('Order(s) History', array("user/orderHistory")); ?></span></li>
    </ul>
</div>
<style>
    .info-myaccount{
        padding:10px;
    }
    p.info-myaccount-display{
        padding:8px 0px;
    }
</style>
<div class="info-myaccount">
    <h3>Address</h3>
    <?php
    if (isset(Yii::app()->user->id)) {
        $uid = Yii::app()->user->id;
        $user = User::model()->findByPk($uid);
        $address = UserAddress::model()->findByAttributes(array('uid' => $uid));
        $country = Countries::model()->findByAttributes(array("countryCode" => $address['countryCode']))
        ?>
        <div>
            <p class="info-myaccount-display">
                <?php echo $user['display_name']; ?>, 
                <?php echo $address['street']; ?> 
                <?php echo $address['city']; ?>, 
                <?php echo $country['countryName']; ?>
            </p>
            <p>Phone : <?php echo $address['phone']; ?></p>
        </div>
    <?php } ?>
</div>